package r3.powtorka;

public class StringiBuildery {

	public static void main(String[] args) {

//		String s = "Kasia ";
		String s = new String("Kasia");
		System.out.println(s);
		
//		s = new StringBuilder(s).append("i Tomek").toString();
//		StringBuilder sb = new StringBuilder(s);
		StringBuilder sb = new StringBuilder();
		sb.append(s);
		sb.append(" i Tomek");
		s = sb.toString();
		
		System.out.println(s);
	}

}
